package com.heima.studentinfoplus.entity;

import lombok.Data;

@Data
public class LoginResponse {
    private int code;
    private String msg;
    private String token;
    private String role;
    private Long userId;


    // 新增构造方法
    public LoginResponse(int code, String message, String token, String role, Long userId) {
        this.code = code;
        this.msg = message;
        this.token = token;
        this.role = role;
        this.userId = userId;
    }

    // getter 和 setter 方法...
}
